﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ShareFrame.Entity.Base_Manage
{
    /// <summary>
    /// 短信发送记录表
    /// </summary>
    [Table("Base_SMSRecord")]
    public class Base_SMSRecord
    {

        /// <summary>
        /// 主键ID
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 自定义编码
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 越小越靠前
        /// </summary>
        public Int32? Sort { get; set; }

        /// <summary>
        /// 接收人身份-用于后期区分表查询
        /// </summary>
        public String R_Identity { get; set; }

        /// <summary>
        /// 接收短信的手机号码
        /// </summary>
        public String R_PhoneNumbers { get; set; }

        /// <summary>
        /// 短信模板变量对应的实际值，JSON格式。
        /// </summary>
        public String R_TemplateParam { get; set; }

        /// <summary>
        /// 请求状态码
        /// </summary>
        public String R_Code { get; set; }

        /// <summary>
        /// 状态码的描述
        /// </summary>
        public String R_Message { get; set; }

        /// <summary>
        /// 发送回执ID-根据ID在接口QuerySendDetails中查询具体的发送状态详情
        /// </summary>
        public String R_BizId { get; set; }

    }
}